package com.eslserver.action.schedule.listener;

import org.quartz.Trigger;
import org.quartz.listeners.TriggerListenerSupport;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class PushScheduleTriggerListener extends TriggerListenerSupport {
	static final Logger LOG = LoggerFactory
			.getLogger(PushScheduleTriggerListener.class);

	@Override
	public String getName() {
		return PushScheduleTriggerListener.class.getName();
	}

	@Override
	public void triggerMisfired(Trigger trigger) {
		LOG.error(trigger.getJobKey().getName() + " - " + trigger.toString()
				+ " has misfired");
		super.triggerMisfired(trigger);
	}

}
